package com.qianfeng.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 学员的映射表
 */
public class Student {

    private Integer studentId;//学员主键
    private String studentName;//学员名称
    private Integer classId;//班级id
    private String stuGender;//性别
    private String stuPhone;//手机号
    private String stuQq;//qq
    private String stuEmail;//邮箱
    private String graduateSchool;//毕业学校
    private Integer educationId;//学历id
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;//出生时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date inTime;//入学时间
    private Integer empId;//招生老师
    private String cardNum;//身份证号

    private Cls cls;
    private Education education;
    private Employee employee;

    @Override
    public String toString() {
        return "Student{" +
                "studentId=" + studentId +
                ", studentName='" + studentName + '\'' +
                ", classId=" + classId +
                ", stuGender='" + stuGender + '\'' +
                ", stuPhone='" + stuPhone + '\'' +
                ", stuQq='" + stuQq + '\'' +
                ", stuEmail='" + stuEmail + '\'' +
                ", graduateSchool='" + graduateSchool + '\'' +
                ", educationId=" + educationId +
                ", createTime=" + createTime +
                ", inTime=" + inTime +
                ", empId=" + empId +
                ", cardNum='" + cardNum + '\'' +
                ", cls=" + cls +
                ", education=" + education +
                ", employee=" + employee +
                '}';
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public String getStuGender() {
        return stuGender;
    }

    public void setStuGender(String stuGender) {
        this.stuGender = stuGender;
    }

    public String getStuPhone() {
        return stuPhone;
    }

    public void setStuPhone(String stuPhone) {
        this.stuPhone = stuPhone;
    }

    public String getStuQq() {
        return stuQq;
    }

    public void setStuQq(String stuQq) {
        this.stuQq = stuQq;
    }

    public String getStuEmail() {
        return stuEmail;
    }

    public void setStuEmail(String stuEmail) {
        this.stuEmail = stuEmail;
    }

    public String getGraduateSchool() {
        return graduateSchool;
    }

    public void setGraduateSchool(String graduateSchool) {
        this.graduateSchool = graduateSchool;
    }

    public Integer getEducationId() {
        return educationId;
    }

    public void setEducationId(Integer educationId) {
        this.educationId = educationId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public Cls getCls() {
        return cls;
    }

    public void setCls(Cls cls) {
        this.cls = cls;
    }

    public Education getEducation() {
        return education;
    }

    public void setEducation(Education education) {
        this.education = education;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public Student() {
    }

    public Student(Integer studentId, String studentName, Integer classId, String stuGender, String stuPhone, String stuQq, String stuEmail, String graduateSchool, Integer educationId, Date createTime, Date inTime, Integer empId, String cardNum, Cls cls, Education education, Employee employee) {
        this.studentId = studentId;
        this.studentName = studentName;
        this.classId = classId;
        this.stuGender = stuGender;
        this.stuPhone = stuPhone;
        this.stuQq = stuQq;
        this.stuEmail = stuEmail;
        this.graduateSchool = graduateSchool;
        this.educationId = educationId;
        this.createTime = createTime;
        this.inTime = inTime;
        this.empId = empId;
        this.cardNum = cardNum;
        this.cls = cls;
        this.education = education;
        this.employee = employee;
    }
}
